package com.inspur.mc;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class StartBusiness implements CommandLineRunner {
	@Autowired
	private MppMapper mppMapper;

	public void run(String... args) throws Exception {
		System.out.println("###########################");
		Map<String, String> data = mppMapper.select("1980", "A");
		System.out.println("get data:" + data.size());
		System.out.println("###########################");
	}

}
